.. vim: syntax=rst Run Application =============== Run Application on Simulator ---------------------------- 1. Launch the HOST - cd to ``beanable/beanto_host/host`` and then run below command: :: mcconfig -d -m -p win The you will see the simulator is launched as below picture shows. .. image:: ../media/pics/002.png :alt: image-20230731105134059 :width: 5.83333in :height: 3.44557in Note: if you have not get the authorization key for your machine, you will get below picture, which show you are not authorized. Please contact Beanable to get the authorization key. .. image:: ../media/pics/003.png :alt: image-20230731105726201 :width: 5.83333in :height: 3.40962in 2. Run your application on simulator. - An car dashboard example application is provided in current beanable sdk release. cd to ``/beanable/beanto_examples/mods/dashboard`` and then run below command: :: mcrun -d -m -p win The you can successfully launch the example application, which is shown as below picture. .. image:: ../media/pics/004.png :alt: image-20230731105230627 :width: 5.83333in :height: 3.51633in Run Application on Hardware --------------------------- 1. Power on the hardware - Once you power on your hardware (connect the type-c socket to the Hardware) you will see below picture from the hardware screen. .. image:: ../media/pics/002.png :alt: image-20230731105134059 :width: 5.83333in :height: 3.44557in 2. Download the application to hardware. - A car dashboard example application is provided in current beanable sdk release. cd to ``/beanable/beanto_examples/mods/dashboard`` and then run below command: :: mcrun -d -m -p esp32/esp32s3_hmi After the download is finished. You can successfully launch the example application, which is shown as below picture. .. image:: ../media/pics/005.png :alt: image-20230731111006465 :width: 5.83333in :height: 3.53816in If you have your own application, you can use the same way as above to download your application to hardware. Note: 1. Please DONOT erase the whole flash of the hardware. Otherwise you will lose the authorization key for your hardware. 2. If you accidentally erase the whole flash , you will get below picture, which show you are not authorized. Please contact Beanable to recover the authorization key. .. image:: ../media/pics/006.png :width: 6in :height: 3.49306in